
include ../Makefile.Res
Version:=4.76
ModuleName:=nmap

Object:=nmap.tgz
ObjectDir:=$(ModuleName)-$(Version)
ObjectSource:=$(ModuleName)-$(Version).tar.bz2

DependFiles:=

ExtModuleNames:=

InstallDir:=

Config:= --without-zenmap

.PHONY: all clean dist_clean

all:$(Object) 

$(Object):$(ObjectSource) 
	tar -xjf $(ObjectSource)
	cd $(ObjectDir);./configure $(Config)
	$(MAKE) -C $(ObjectDir)
	$(MAKE) -C $(ObjectDir) install DESTDIR=`pwd`/
	rm -rf usr/local/share/man 
	$(g_STRIP)
	tar -czf $(Object) usr

clean:
	rm -rf $(Object) usr

dist_clean:clean
	rm -rf $(ObjectDir) $(ObjectSource) *.tar.gz
	
